using System;

namespace GURUCORE.Framework.DataAccess.ORMapping.CriteriaMapping
{
	public interface IExpressionMaker
	{
		string FormatStringConstant(string p_sInput);
	}

	public class DefaultExpressionMaker: IExpressionMaker
	{
		public string FormatStringConstant(string p_sInput)
		{
            if (null == p_sInput)
            {
                p_sInput = string.Empty;
            }
            return "'" + p_sInput + "'";
		}
	};
}
